<Toolkit Desc="用户资料" Module="MasterDetail2" Tables="UR_USERS,UR_USERS_PART" Fields="OLD_USER_ID,USER_ID,USER_NAME,hdUSER_ORG_ID,USER_ORG_ID,USER_LOGIN_NAME,USER_PHONE,USER_MOBILE,USER_EMAIL,USER_WORK_NO,USER_SEX,USER_TITLE,USER_BIRTHDAY,USER_WORKED,USER_EDUCATION,hdUSER_ORIGIN,USER_ORIGIN,USER_WORK_LIMIT,USER_IDENT_NO,USER_IN_DATE,hdUSER_AREA,USER_AREA,USER_ADDRESS,USER_POSTAL,USER_ACTIVE,USER_ADMIN,USER_OUT,USER_OUT_DATE;OLD_UP_USER_ID,UP_USER_ID,OLD_UP_PART_ID,hdUP_PART_ID,UP_PART_ID" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:zj="http://www.zju.edu.cn">
  <zj:DisablePage>
    <Delete />
  </zj:DisablePage>
  <zj:Table TableName="UR_USERS" TableDesc="用户信息" Style="Normal" SrcTableName="UR_USERS" KeyCount="1" RegName="Users" XmlFile="../../Data/Users/Users.xml" Expand="true">
    <Hidden>
      <zj:Field DataType="int" IsKey="true" Kind="Data">
        <zj:FieldName>USER_ID</zj:FieldName>
        <zj:DisplayName>ID</zj:DisplayName>
        <zj:Display ThreeColumn="three" Align="left" />
        <zj:Extension />
        <zj:HtmlCtrl Order="10" HtmlCtrl="Hidden" />
        <zj:Updating NeedParse="true" UpdateKind="Insert">{@UR_USERS}</zj:Updating>
      </zj:Field>
    </Hidden>
    <Row FieldName="USER_NAME">
      <zj:Field DataType="string" IsEmpty="false" Kind="Data">
        <zj:FieldName>USER_NAME</zj:FieldName>
        <zj:DisplayName>用户姓名</zj:DisplayName>
        <zj:Length>100</zj:Length>
        <zj:Display ThreeColumn="three" ListRef="true" Align="left">
          <Attribute Name="maxlength" Value="100" />
        </zj:Display>
        <zj:Extension Search="title" />
        <zj:HtmlCtrl Order="20" HtmlCtrl="Text" />
      </zj:Field>
      <zj:Field DataType="int" IsEmpty="false" Kind="Data">
        <zj:FieldName>USER_ORG_ID</zj:FieldName>
        <zj:DisplayName>所属机构</zj:DisplayName>
        <zj:EasySearch RegName="ORG" />
        <zj:Display ThreeColumn="three" Align="left">
          <Attribute Name="onkeydown" Value="if (event.keyCode == 9) DocOnClick();" />
          <Attribute Name="onlosecapture" Value="floatdivflag = 1" />
          <Attribute Name="onkeyup" Value="FastSearch(document.all(&quot;hdUSER_ORG_IDType&quot;, GetRowID(this)).value, this.value, document.all(&quot;hdUSER_ORG_ID&quot;, GetRowID(this)))" />
          <Attribute Name="onfocus" Value="FastSearch2(document.all(&quot;hdUSER_ORG_IDType&quot;, GetRowID(this)).value, this.value, document.all(&quot;hdUSER_ORG_ID&quot;, GetRowID(this)))" />
        </zj:Display>
        <zj:Extension ImgClick="openLookup1('../Pages/WebDialogSearch2Page.zjx?IdElementName=hdUSER_ORG_ID&amp;EditElementName=USER_ORG_ID')" />
        <zj:HtmlCtrl Order="30" HtmlCtrl="EasySearch" />
      </zj:Field>
      <zj:Field DataType="string" IsEmpty="false" Kind="Data">
        <zj:FieldName>USER_LOGIN_NAME</zj:FieldName>
        <zj:DisplayName>登陆名</zj:DisplayName>
        <zj:Length>50</zj:Length>
        <zj:Display ThreeColumn="three" Align="left">
          <Attribute Name="maxlength" Value="50" />
        </zj:Display>
        <zj:Extension Search="title" />
        <zj:HtmlCtrl Order="40" HtmlCtrl="Text" />
      </zj:Field>
    </Row>
    <Row FieldName="USER_PHONE">
      <zj:Field DataType="string" IsEmpty="true" Kind="Data">
        <zj:FieldName>USER_PHONE</zj:FieldName>
        <zj:DisplayName>联系电话</zj:DisplayName>
        <zj:Length>50</zj:Length>
        <zj:Display ThreeColumn="three" Align="left">
          <Attribute Name="maxlength" Value="50" />
        </zj:Display>
        <zj:Extension />
        <zj:HtmlCtrl Order="70" HtmlCtrl="Text" />
      </zj:Field>
      <zj:Field DataType="string" IsEmpty="true" Kind="Data">
        <zj:FieldName>USER_MOBILE</zj:FieldName>
        <zj:DisplayName>手机</zj:DisplayName>
        <zj:Length>50</zj:Length>
        <zj:Display ThreeColumn="three" Align="left">
          <Attribute Name="maxlength" Value="50" />
        </zj:Display>
        <zj:Extension />
        <zj:HtmlCtrl Order="80" HtmlCtrl="Text" />
      </zj:Field>
      <zj:Field DataType="string" IsEmpty="true" Kind="Data">
        <zj:FieldName>USER_EMAIL</zj:FieldName>
        <zj:DisplayName>E-mail</zj:DisplayName>
        <zj:Length>100</zj:Length>
        <zj:Display ThreeColumn="three" Align="left">
          <Attribute Name="maxlength" Value="100" />
        </zj:Display>
        <zj:Extension />
        <zj:HtmlCtrl Order="90" HtmlCtrl="Text" />
      </zj:Field>
    </Row>
    <Row FieldName="USER_WORK_NO">
      <zj:Field DataType="string" IsEmpty="true" Kind="Data">
        <zj:FieldName>USER_WORK_NO</zj:FieldName>
        <zj:DisplayName>工号</zj:DisplayName>
        <zj:Length>50</zj:Length>
        <zj:Display ThreeColumn="three" Align="left">
          <Attribute Name="maxlength" Value="50" />
        </zj:Display>
        <zj:Extension />
        <zj:HtmlCtrl Order="100" HtmlCtrl="Text" />
      </zj:Field>
      <zj:Field DataType="string" IsEmpty="true" Kind="Data">
        <zj:FieldName>USER_SEX</zj:FieldName>
        <zj:DisplayName>性别</zj:DisplayName>
        <zj:Length>2</zj:Length>
        <zj:CodeTable>CodeSex</zj:CodeTable>
        <zj:Display ThreeColumn="three" Align="left" />
        <zj:Extension />
        <zj:HtmlCtrl Order="110" HtmlCtrl="Combo" />
      </zj:Field>
      <zj:Field DataType="string" IsEmpty="true" Kind="Data">
        <zj:FieldName>USER_TITLE</zj:FieldName>
        <zj:DisplayName>职位</zj:DisplayName>
        <zj:Length>50</zj:Length>
        <zj:Display ThreeColumn="three" Align="left">
          <Attribute Name="maxlength" Value="50" />
        </zj:Display>
        <zj:Extension />
        <zj:HtmlCtrl Order="120" HtmlCtrl="Text" />
      </zj:Field>
    </Row>
    <Row FieldName="USER_BIRTHDAY">
      <zj:Field DataType="Date" IsEmpty="true" Kind="Data">
        <zj:FieldName>USER_BIRTHDAY</zj:FieldName>
        <zj:DisplayName>生日</zj:DisplayName>
        <zj:Display ThreeColumn="three" Align="left">
          <Attribute Name="maxlength" Value="10" />
        </zj:Display>
        <zj:Extension />
        <zj:HtmlCtrl Order="130" HtmlCtrl="Text" />
      </zj:Field>
      <zj:Field DataType="string" IsEmpty="true" Kind="Data">
        <zj:FieldName>USER_WORKED</zj:FieldName>
        <zj:DisplayName>曾从事岗位</zj:DisplayName>
        <zj:Length>50</zj:Length>
        <zj:Display ThreeColumn="three" Align="left">
          <Attribute Name="maxlength" Value="50" />
        </zj:Display>
        <zj:Extension />
        <zj:HtmlCtrl Order="140" HtmlCtrl="Text" />
      </zj:Field>
      <zj:Field DataType="string" IsEmpty="true" Kind="Data">
        <zj:FieldName>USER_EDUCATION</zj:FieldName>
        <zj:DisplayName>学历</zj:DisplayName>
        <zj:Length>2</zj:Length>
        <zj:CodeTable>CodeEducation</zj:CodeTable>
        <zj:Display ThreeColumn="three" Align="left" />
        <zj:Extension />
        <zj:HtmlCtrl Order="150" HtmlCtrl="Combo" />
      </zj:Field>
    </Row>
    <Row FieldName="USER_ORIGIN">
      <zj:Field DataType="string" IsEmpty="true" Kind="Data">
        <zj:FieldName>USER_ORIGIN</zj:FieldName>
        <zj:DisplayName>籍贯</zj:DisplayName>
        <zj:Length>8</zj:Length>
        <zj:EasySearch RegName="SX" />
        <zj:Display ThreeColumn="three" Align="left">
          <Attribute Name="onkeydown" Value="if (event.keyCode == 9) DocOnClick();" />
          <Attribute Name="onlosecapture" Value="floatdivflag = 1" />
          <Attribute Name="onkeyup" Value="FastSearch(document.all(&quot;hdUSER_ORIGINType&quot;, GetRowID(this)).value, this.value, document.all(&quot;hdUSER_ORIGIN&quot;, GetRowID(this)))" />
          <Attribute Name="onfocus" Value="FastSearch2(document.all(&quot;hdUSER_ORIGINType&quot;, GetRowID(this)).value, this.value, document.all(&quot;hdUSER_ORIGIN&quot;, GetRowID(this)))" />
        </zj:Display>
        <zj:Extension ImgClick="openLookup1('../Pages/WebDialogSearch2Page.zjx?IdElementName=hdUSER_ORIGIN&amp;EditElementName=USER_ORIGIN')" />
        <zj:HtmlCtrl Order="160" HtmlCtrl="EasySearch" />
      </zj:Field>
      <zj:Field DataType="string" IsEmpty="true" Kind="Data">
        <zj:FieldName>USER_WORK_LIMIT</zj:FieldName>
        <zj:DisplayName>工作年限</zj:DisplayName>
        <zj:Length>50</zj:Length>
        <zj:Display ThreeColumn="three" Align="left">
          <Attribute Name="maxlength" Value="50" />
        </zj:Display>
        <zj:Extension />
        <zj:HtmlCtrl Order="170" HtmlCtrl="Text" />
      </zj:Field>
      <zj:Field DataType="string" IsEmpty="true" Kind="Data">
        <zj:FieldName>USER_IDENT_NO</zj:FieldName>
        <zj:DisplayName>身份证号</zj:DisplayName>
        <zj:Length>50</zj:Length>
        <zj:Display ThreeColumn="three" Align="left">
          <Attribute Name="maxlength" Value="50" />
        </zj:Display>
        <zj:Extension />
        <zj:HtmlCtrl Order="180" HtmlCtrl="Text" />
      </zj:Field>
    </Row>
    <Row FieldName="USER_IN_DATE">
      <zj:Field DataType="Date" IsEmpty="true" Kind="Data">
        <zj:FieldName>USER_IN_DATE</zj:FieldName>
        <zj:DisplayName>进公司时间</zj:DisplayName>
        <zj:Display ThreeColumn="three" Align="left">
          <Attribute Name="maxlength" Value="10" />
        </zj:Display>
        <zj:Extension />
        <zj:HtmlCtrl Order="190" HtmlCtrl="Text" />
      </zj:Field>
      <zj:Field DataType="string" IsEmpty="true" Kind="Data">
        <zj:FieldName>USER_AREA</zj:FieldName>
        <zj:DisplayName>地区</zj:DisplayName>
        <zj:Length>8</zj:Length>
        <zj:EasySearch RegName="SX" />
        <zj:Display ThreeColumn="three" Align="left">
          <Attribute Name="onkeydown" Value="if (event.keyCode == 9) DocOnClick();" />
          <Attribute Name="onlosecapture" Value="floatdivflag = 1" />
          <Attribute Name="onkeyup" Value="FastSearch(document.all(&quot;hdUSER_AREAType&quot;, GetRowID(this)).value, this.value, document.all(&quot;hdUSER_AREA&quot;, GetRowID(this)))" />
          <Attribute Name="onfocus" Value="FastSearch2(document.all(&quot;hdUSER_AREAType&quot;, GetRowID(this)).value, this.value, document.all(&quot;hdUSER_AREA&quot;, GetRowID(this)))" />
        </zj:Display>
        <zj:Extension ImgClick="openLookup1('../Pages/WebDialogSearch2Page.zjx?IdElementName=hdUSER_AREA&amp;EditElementName=USER_AREA')" />
        <zj:HtmlCtrl Order="200" HtmlCtrl="EasySearch" />
      </zj:Field>
      <zj:Field DataType="string" IsEmpty="true" Kind="Data">
        <zj:FieldName>USER_ADDRESS</zj:FieldName>
        <zj:DisplayName>地址</zj:DisplayName>
        <zj:Length>225</zj:Length>
        <zj:Display ThreeColumn="three" Align="left">
          <Attribute Name="maxlength" Value="225" />
        </zj:Display>
        <zj:Extension />
        <zj:HtmlCtrl Order="210" HtmlCtrl="Text" />
      </zj:Field>
    </Row>
    <Row FieldName="USER_POSTAL">
      <zj:Field DataType="string" IsEmpty="true" Kind="Data">
        <zj:FieldName>USER_POSTAL</zj:FieldName>
        <zj:DisplayName>邮编</zj:DisplayName>
        <zj:Length>20</zj:Length>
        <zj:Display ThreeColumn="three" Align="left">
          <Attribute Name="maxlength" Value="20" />
        </zj:Display>
        <zj:Extension />
        <zj:HtmlCtrl Order="220" HtmlCtrl="Text" />
      </zj:Field>
      <zj:Field DataType="int" IsEmpty="true" Kind="Data">
        <zj:FieldName>USER_ACTIVE</zj:FieldName>
        <zj:DisplayName>有效用户</zj:DisplayName>
        <zj:Display ThreeColumn="three" Align="left">
          <Attribute Name="style" Value="border:0" />
        </zj:Display>
        <zj:Extension CheckValue="1" UnCheckValue="0" />
        <zj:HtmlCtrl Order="230" HtmlCtrl="CheckBox" />
      </zj:Field>
      <zj:Field DataType="int" IsEmpty="true" Kind="Data">
        <zj:FieldName>USER_ADMIN</zj:FieldName>
        <zj:DisplayName>超级用户</zj:DisplayName>
        <zj:Display ThreeColumn="three" Align="left">
          <Attribute Name="style" Value="border:0" />
        </zj:Display>
        <zj:Extension CheckValue="1" UnCheckValue="0" />
        <zj:HtmlCtrl Order="230" HtmlCtrl="CheckBox" />
      </zj:Field>
    </Row>
    <Row FieldName="USER_OUT">
      <zj:Field DataType="int" IsEmpty="true" Kind="Data">
        <zj:FieldName>USER_OUT</zj:FieldName>
        <zj:DisplayName>已离职</zj:DisplayName>
        <zj:Display ThreeColumn="three" Align="left">
          <Attribute Name="style" Value="border:0" />
        </zj:Display>
        <zj:Extension CheckValue="1" UnCheckValue="0" />
        <zj:HtmlCtrl Order="240" HtmlCtrl="CheckBox" />
      </zj:Field>
      <zj:Field DataType="Date" IsEmpty="true" Kind="Data">
        <zj:FieldName>USER_OUT_DATE</zj:FieldName>
        <zj:DisplayName>离职时间</zj:DisplayName>
        <zj:Display ThreeColumn="three" Align="left">
          <Attribute Name="maxlength" Value="10" />
        </zj:Display>
        <zj:Extension />
        <zj:HtmlCtrl Order="250" HtmlCtrl="Text" />
      </zj:Field>
    </Row>
  </zj:Table>
  <zj:Table TableName="UR_USERS_PART" TableDesc="用户与角色" Style="Table" SrcTableName="UR_USERS_PART" KeyCount="2" RegName="UsersPart" XmlFile="../../Data/Users/UsersPart.xml" Expand="true">
    <Hidden>
      <zj:Field DataType="int" IsEmpty="true" IsKey="true" Kind="Data">
        <zj:FieldName>UP_USER_ID</zj:FieldName>
        <zj:DisplayName>ID名称</zj:DisplayName>
        <zj:Display ThreeColumn="three" Align="left" />
        <zj:Extension />
        <zj:HtmlCtrl Order="10" HtmlCtrl="Hidden" />
      </zj:Field>
    </Hidden>
    <List>
      <zj:Field DataType="int" IsKey="true" IsEmpty="false" Kind="Data">
        <zj:FieldName>UP_PART_ID</zj:FieldName>
        <zj:DisplayName>角色名称</zj:DisplayName>
        <zj:EasySearch RegName="PART" />
        <zj:Display ThreeColumn="three" Align="left">
          <Link HRefType="HREF" ID="UP_PART_ID">WebDetailXmlPage.tkx?Source=Users/Part</Link>
          <Attribute Name="onkeydown" Value="if (event.keyCode == 9) DocOnClick();" />
          <Attribute Name="onlosecapture" Value="floatdivflag = 1" />
          <Attribute Name="onkeyup" Value="FastSearch(document.all(&quot;hdUP_PART_IDType&quot;, GetRowID(this)).value, this.value, document.all(&quot;hdUP_PART_ID&quot;, GetRowID(this)))" />
          <Attribute Name="onfocus" Value="FastSearch2(document.all(&quot;hdUP_PART_IDType&quot;, GetRowID(this)).value, this.value, document.all(&quot;hdUP_PART_ID&quot;, GetRowID(this)))" />
        </zj:Display>
        <zj:Extension ImgClick="openLookup1('../Pages/WebDialogSearch2Page.zjx?IdElementName=hdUP_PART_ID&amp;EditElementName=UP_PART_ID')" />
        <zj:HtmlCtrl Order="20" HtmlCtrl="EasySearch" />
      </zj:Field>
    </List>
  </zj:Table>
</Toolkit>